home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Programming / ace_gpl_release / src / lib / asm / scrwin_data.s < prev    next >
Encoding:
Text File  |  1998-10-04  |  3.9 KB  |  196 lines

  1. ;
  2. ; Data/BSS references for scrwin.s.
  3. ; Copyright (C) 1998 David Benn
  4. ; This program is free software; you can redistribute it and/or
  5. ; modify it under the terms of the GNU General Public License
  6. ; as published by the Free Software Foundation; either version 2
  7. ; of the License, or (at your option) any later version.
  8. ;
  9. ; This program is distributed in the hope that it will be useful,
  10. ; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. ; GNU General Public License for more details.
  13. ;
  14. ; You should have received a copy of the GNU General Public License
  15. ; along with this program; if not, write to the Free Software
  16. ; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  17. ;
  18. ; Author: David J Benn
  19. ;   Date: 19th March 1994
  20. ;      12th,24th,27th July 1994
  21. ;
  22.  
  23. MAXSTRINGSIZE equ 1024
  24.  
  25.     xdef    _slash
  26.     xdef    _longtemp
  27.     xdef    _formfeed
  28.     xdef    _forcebgndcolr
  29.     xdef    _textcolr
  30.     xdef    _locatestr
  31.     xdef    _raw
  32.     xdef    _Wdw_width_list
  33.     xdef    _Wdw_height_list
  34.     xdef    _fgdpen_list
  35.     xdef    _bgpen_list
  36.     xdef    _Wdw_list
  37.     xdef    _RPort_list
  38.     xdef    _stdout_list
  39.     xdef    _stdin_list
  40.     xdef    _mode_oldfile
  41.     xdef    _ScreenWdw
  42.     xdef    _ScreenRPort
  43.     xdef    _ScreenViewPort
  44.     xdef    _Screen_list
  45.     xdef    _newscreen
  46.     xdef    _newwindow
  47.     xdef    _horiz_tabstring
  48.     xdef    _NULL_string
  49.  
  50.     xdef    _x1
  51.     xdef    _x2
  52.     xdef    _y1
  53.     xdef    _y2
  54.     xdef    _titleaddr
  55.     xdef    _tempstr
  56.     xdef    _rawname
  57.     xdef    _tempWdw_id
  58.     xdef    _screen_id
  59.     xdef    _rport_addr
  60.     xdef    _viewport_addr
  61.     xdef    _screen_addr
  62.     xdef    _scr_wdw_addr
  63.     xdef    _color_id
  64.     xdef    _red
  65.     xdef    _green
  66.     xdef    _blue
  67.     xdef    _strbuf
  68.     xdef    _max_line
  69.     xdef    _font_height
  70.     xdef    _wdth
  71.     xdef    _hgt
  72.     xdef    _horiz_pos
  73.  
  74.     SECTION scrwin_data,DATA
  75.  
  76. ; * general *
  77. _slash:        dc.b '/',0
  78. _longtemp:    dc.l 1
  79.  
  80. ; * cls *
  81. _formfeed:    dc.b 12
  82. _forcebgndcolr  dc.b $9b,'>',0,'m'
  83.  
  84. ; * changetextcolor *
  85. _textcolr:    dc.b $9b,'0;30;40m'
  86.  
  87. ; * locate *
  88. _locatestr:    dc.b $9b,$31,$31,$3b,$31,$31,$48
  89.  
  90. ; * createwindow *
  91. _raw:            dc.b  'RAW:',0
  92. _Wdw_width_list:    dcb.w 10,0
  93. _Wdw_height_list:    dcb.w 10,0
  94. _fgdpen_list:        dcb.w 10,0
  95. _bgpen_list:        dcb.w 10,0
  96. _Wdw_list:        dcb.l 10,0
  97. _RPort_list:        dcb.l 10,0
  98. _stdout_list:        dcb.l 10,0
  99. _stdin_list:        dcb.l 10,0
  100. _mode_oldfile:        dc.l  1005
  101.  
  102. ; * openscreen *
  103. _ScreenWdw:        dcb.l 10,0
  104. _ScreenRPort:        dcb.l 10,0
  105. _ScreenViewPort:    dcb.l 10,0
  106. _Screen_list:        dcb.l 10,0
  107. _newscreen:
  108.     dc.w 0        ; left edge (0)
  109.     dc.w 0        ; top edge  (0)
  110.     dc.w 0        ; width  *
  111.     dc.w 0        ; height *
  112.     dc.w 0        ; depth  *
  113.     dc.b 1        ; detail pen 
  114.     dc.b 0        ; block pen 
  115.     dc.w 0        ; mode   *
  116.     dc.w $000f    ; screen type (custom)
  117.     dc.l 0        ; font (NULL)
  118.     dc.l 0        ; default title (NULL)
  119.     dc.l 0        ; gadgets (NULL)
  120.     dc.l 0        ; custom bit-map (NULL)
  121.  
  122. _newwindow:
  123.     dc.w 0        ; left edge (0)
  124.     dc.w 0        ; top edge  (0)
  125.     dc.w 0        ; width  *
  126.     dc.w 0        ; height *
  127.     dc.b 1        ; detail pen
  128.     dc.b 0        ; block pen
  129.             ; IDCMP flags:     VANILLAKEY | INTUITICKS | MENUPICK |
  130.             ;        ACTIVEWINDOW | GADGETUP
  131.     dc.l $00640140  
  132.             ; (see intuition/intuition.h)    
  133.  
  134.             ; Flags: BACKDROP | GZZ | BORDERLESS | ACTIVATE
  135.     dc.l $1D00
  136.             ; (see intuition/intuition.h)
  137.     
  138.     dc.l 0        ; First Gadget
  139.     dc.l 0        ; CheckMark
  140.     dc.l 0        ; Title
  141.     dc.l 0        ; Pointer to Custom Screen * 
  142.     dc.l 0        ; BitMap
  143.     dc.w 0        ; MinWidth
  144.     dc.w 0        ; MinHeight
  145.     dc.w 0        ; MaxWidth
  146.     dc.w 0        ; MaxHeight
  147.     dc.w $000f    ; CUSTOMSCREEN (see intuition/screens.h)         
  148.         
  149. ; * tab *
  150. _horiz_tabstring:    dc.b  $9b,$31,$31,$43,0
  151. _NULL_string:        dc.b  0
  152.  
  153. ;************************
  154.  
  155.     SECTION scrwin_mem,BSS
  156.  
  157. ; * createwindow *
  158. _x1:            ds.w 1
  159. _x2:            ds.w 1
  160. _y1:            ds.w 1
  161. _y2:            ds.w 1
  162. _titleaddr:        ds.l 1
  163. _tempstr:        ds.l 128  ; arbitrarily large
  164. _rawname:        ds.b MAXSTRINGSIZE
  165.  
  166. ; * closewindow *
  167. _tempWdw_id:        ds.w 1
  168.  
  169. ; * openscreen *
  170. _screen_id:        ds.w 1
  171. _rport_addr:         ds.l 1
  172. _viewport_addr:        ds.l 1
  173. _screen_addr:        ds.l 1
  174. _scr_wdw_addr:        ds.l 1
  175.  
  176. ; * palette *
  177. _color_id:        ds.w 1
  178. _red:            ds.l 1
  179. _green:            ds.l 1
  180. _blue:            ds.l 1
  181.  
  182. ; * prints *
  183. _strbuf:        ds.b 40
  184.  
  185. ; * scroll *
  186. _max_line:        ds.w 1
  187. _font_height:        ds.w 1
  188. _wdth:            ds.w 1
  189. _hgt:            ds.w 1
  190.  
  191. ;* tab *
  192. _horiz_pos:        ds.w 1
  193.  
  194.     END
  195.